<%@ page language="java" import="java.util.*"
	import="com.csc.shopping.vo.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<jsp:include page="/manage/inc/header.jsp"></jsp:include>
<jsp:include page="/manage/inc/sidebar.jsp"></jsp:include>
<%
	List<GoodsType> goodsTypes = (List<GoodsType>) request
			.getAttribute("goodsTypes");
%>
<div class="main-wrap">
	<div class="crumb-wrap">
		<div class="crumb-list">
			<i class="icon-font"></i><a href="manager.html">首页</a><span
				class="crumb-step">&gt;</span><span class="crumb-name">分类回收站</span>
		</div>
	</div>

	<div class="result-wrap">
		<form name="myform" id="myform" method="post">
			<div class="result-content">
				<table class="result-tab" width="100%">
					<tr>
						<th class="tc" width="5%"><input class="allChoose" name=""
							type="checkbox"></th>
						<th>ID</th>
						<th>产品分类</th>
						<th>操作</th>
					</tr>
					<%
						for (int i = 0; i < goodsTypes.size(); i++) {
					%>
					<tr>
						<td class="tc"><input name="id[]" type="checkbox"> <input
							name="ids[]" value="<%=goodsTypes.get(i).getId()%>"
							type="hidden"></td>

						<td><%=i%></td>
						<td title="ok"><a
							target="_blank" href="#"><%=goodsTypes.get(i).getName()%></a></td>
						<td> <a class="link-del" href="javascript:void(0);"
							onclick="recoverGoodsType(this)">恢复</a></td>
					</tr>
					<%
						}
					%>
				</table>

			</div>
		</form>
	</div>
</div>
<jsp:include page="/manage/inc/footer.jsp"></jsp:include>
